package com.um.weixin.mini.service;

import cn.binarywang.wx.miniapp.bean.WxMaSubscribeMessage;
import me.chanjar.weixin.common.error.WxErrorException;

/**
 * @Title
 * @Description
 * @Author renjunwei
 * @Date 2023/5/31 17:27
 */
public interface WxMiniMsgService {

    /**
     * <pre>
     * 发送订阅消息
     * https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html
     * </pre>
     *
     * @param subscribeMessage 订阅消息
     * @throws WxErrorException .
     */
    void sendSubscribeMsg(WxMaSubscribeMessage subscribeMessage) throws WxErrorException;


}
